<template>
  <!--该模块只开放给管理员-->
  <a-sub-menu key="salvage">
    <template #title>
      <span>
        <MonitorOutlined />
        <span>防卡解卡</span>
      </span>
    </template>
    <a-menu-item key="/salvage/engineering">
      <router-link to="/salvage/engineering">
        <AlertOutlined />
        <span>工程</span>
      </router-link>
    </a-menu-item>
    <!-- <a-sub-menu>
      <template #title>
        <span>
          <ReconciliationOutlined />
          <span>工程</span>
        </span>
      </template>
      <a-menu-item key="/">
        <router-link to="/">
          <AlertOutlined />
          <span>防卡工艺</span>
        </router-link>
      </a-menu-item>
      <a-menu-item key="/">
        <router-link to="/">
          <AlertOutlined />
          <span>遇卡原因判断</span>
        </router-link>
      </a-menu-item>
      <a-menu-item key="/">
        <router-link to="/">
          <AlertOutlined />
          <span>自解卡</span>
        </router-link>
      </a-menu-item>
      <a-sub-menu>
        <template #title>
          <span>
            <ReconciliationOutlined />
            <span>穿心解卡</span>
          </span>
        </template>
        <a-menu-item key="/salvage/accidentReport">
          <router-link to="/salvage/accidentReport">
            <AlertOutlined />
            <span>复杂快报</span>
          </router-link>
        </a-menu-item>
        <a-menu-item key="/salvage/cardUnlocking">
          <router-link to="/salvage/cardUnlocking">
            <ProfileOutlined />
            <span>现场信息</span>
          </router-link>
        </a-menu-item>
        <a-menu-item key="/salvage/workPermit">
          <router-link to="/salvage/workPermit">
            <ScheduleOutlined />
            <span>作业许可</span>
          </router-link>
        </a-menu-item>
        <a-menu-item key="/salvage/salvageGuidance">
          <router-link to="/salvage/salvageGuidance">
            <UngroupOutlined />
            <span>施工指导</span>
          </router-link>
        </a-menu-item>
        <a-menu-item key="/salvage/case">
          <router-link to="/salvage/case">
            <BarsOutlined />
            <span>经典案例</span>
          </router-link>
        </a-menu-item>
        <a-menu-item key="/salvage/wellScheme">
            <router-link to="/salvage/wellScheme">
                <SolutionOutlined />
                <span>方案管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/salvage/training">
          <router-link to="/salvage/training">
            <ReconciliationOutlined />
            <span>相关培训</span>
          </router-link>
        </a-menu-item>
      </a-sub-menu>
      <a-menu-item key="/">
        <router-link to="/">
          <AlertOutlined />
          <span>旁通解卡</span>
        </router-link>
      </a-menu-item>
      <a-menu-item key="/">
        <router-link to="/">
          <AlertOutlined />
          <span>边解卡边测井</span>
        </router-link>
      </a-menu-item>
      <a-menu-item key="/">
        <router-link to="/">
          <AlertOutlined />
          <span>打捞</span>
        </router-link>
      </a-menu-item>
      <a-menu-item key="/">
        <router-link to="/">
          <AlertOutlined />
          <span>复杂处置</span>
        </router-link>
      </a-menu-item>
    </a-sub-menu> -->
    <a-menu-item key="/salvage/train">
      <router-link to="/salvage/train">
        <AlertOutlined />
        <span>培训</span>
      </router-link>
    </a-menu-item>
    <a-menu-item key="/salvage/people">
      <router-link to="/salvage/people">
        <AlertOutlined />
        <span>人员</span>
      </router-link>
    </a-menu-item>
  </a-sub-menu>
</template>
<script setup>
import {
  MonitorOutlined,
  AlertOutlined,
  ProfileOutlined,
  SolutionOutlined,
  ReconciliationOutlined,
  UngroupOutlined,
  BarsOutlined,
  ScheduleOutlined,
} from "@ant-design/icons-vue";
const props = defineProps({
  theme: {
    type: String,
    default: "light",
  },
});
</script>
